﻿using System;
using System.Collections.Generic;
using System.Text;
using xiaodingmarket_Domain_core.Events;

namespace xiaodingmarket_Domain.Events.Commodity
{
    public class CommodityUpdateEvent:Event
    {
        public CommodityUpdateEvent(Guid commodityId, Guid studentId)
        {
            
            CommodityId = commodityId;
            Id = studentId;
            AggregateId = studentId;
        }
        /// <summary>
        /// 操作人id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public Guid CommodityId { get; private set; }
        
        
        
    }
}
